package April.fifteen.a;

/*
打印ASCLL码32~126 为了美观 小于一百的在前面加0对齐，且每八个换行
 */
public class Demo_1 {
    public static void main(String[] args) {
        function_1();
    }

    public static void function_1() {
        String k = "";
        char j;
        for (int i = 32; i < 126; i++) {
            j = (char) i;
            k = i > 100 ? "0" + i : "" + i;
            System.out.print("第" + k + "个ASCLL码，对应" + j + "  ");
            if ((i - 31) % 8 == 0) {
                System.out.println();
            }
        }
    }

}
